package requests.weather;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class InformationCutter {
	
	public String cut(String text) {
		
		String result = "";
		
		Pattern pattern = Pattern.compile("wiu:.*?</font>");
		Matcher m1 = pattern.matcher(text);
		
		while(m1.find()) {
			result = text.substring(m1.start()+5, m1.end()-14);
			break;
		}
		return result;
	}

}
